﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AdminManagement.ascx.cs"
	Inherits="Admin_UserControls_AdminManagement" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<script src="../resources/scripts/smooth.form.js" type="text/javascript"></script>
<div class="title">
	<h5>
		QUẢN LÝ ADMIN</h5>
</div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div class="table">
	<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"
		GridLines="None" PageSize="2" Skin="Office2007" 
		onprerender="RadGrid1_PreRender" AutoGenerateColumns="False" 
		onitemcommand="RadGrid1_ItemCommand">
		<PagerStyle Visible="False" />
		<MasterTableView>
			<Columns>
				<telerik:GridBoundColumn DataField="admin_id" HeaderText="Mã Admin" 
					UniqueName="admin_id">
				</telerik:GridBoundColumn>
				<telerik:GridBoundColumn DataField="email" HeaderText="Địa chỉ Email" 
					UniqueName="email">
				</telerik:GridBoundColumn>
				<%--<telerik:GridBoundColumn DataField="password" HeaderText="Mật khẩu" 
					UniqueName="password">
				</telerik:GridBoundColumn>--%>
				<telerik:GridButtonColumn HeaderImageUrl="~/Files/images/edit.gif" 
					Text="Sửa" UniqueName="Sua" CommandName="Sua">
				</telerik:GridButtonColumn>
				<telerik:GridButtonColumn HeaderImageUrl="~/Files/images/delete.gif" 
					Text="Xóa" UniqueName="Xoa" CommandName="Xoa" ConfirmText="Bạn có chắc chắn muốn xóa?">
				</telerik:GridButtonColumn>
			</Columns>
		</MasterTableView>
	</telerik:RadGrid>
</div>
	<!-- box / title -->
	<div class="title">
		<h5>MẪU NHẬP THÔNG TIN QUẢN TRỊ</h5>
	</div>
	<!-- end box / title -->
	<form id="form" action="" method="post">
		<div class="form">
		    <div class="fields">
			    <div class="field  field-first">
					<div class="label">
						<label for="input-small">Mã quản trị:</label>
					</div>
					<div class="input">
                        <telerik:RadTextBox ID="admin_idLabel" runat="Server" CssClass="small" Width="50px">
                        </telerik:RadTextBox>
					</div>
				</div>
				<div class="field">
					<div class="label">
						<label for="input-medium">Thư điện tử:</label>
					</div>
					<div class="input">
				        <telerik:RadTextBox ID="emailRadTextBox1" runat="server" CssClass="medium" Width="200px">
				        </telerik:RadTextBox>
					</div>
			    </div>
				<div class="field">
					<div class="label">
    					<label for="input-large">Mật khẩu:</label>
					</div>
   					<div class="input">
				        <telerik:RadTextBox ID="passwordRadTextBox2" runat="server" Width="200px" TextMode="Password">
				        </telerik:RadTextBox>
    				</div>
	    		</div>
				<div class="field">
					<div class="label">
    					<label for="input-large">Nhập lại mật khẩu:</label>
					</div>
   					<div class="input">
			            <telerik:RadTextBox ID="repasswordRadTextBox1" runat="server" Width="200px" TextMode="Password">
			            </telerik:RadTextBox>
    				</div>
	    		</div>
				<div class="buttons">
    				<asp:Button ID="Button_new" runat="server" Text="Thêm" OnClick="Button_new_Click" role="button" aria-disabled="false"/>
				    <asp:Button ID="Button_edit" runat="server" Text="Sửa" 
					    oncommand="Button_edit_Command" role="button" aria-disabled="false"/>
				    <asp:Button ID="Button_cancel" runat="server" Text="Quay lại" OnClick="Button_cancel_Click" role="button" aria-disabled="false"/>
				</div>
			</div>
		</div>
	</form>